<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;
use App\Http\Middleware;
use Illuminate\Routing\Controller as BaseController;

class IndexController extends BaseController
{
	public function __construct()
	{
		$this->middleware('admindo');
	}
	//后台首页,框架
	public function index()
	{
		$value = session('adminBackSet');//emial
		$name = session('adminBackName');
		return view('admin.index',['name' => $name]);
	}
	
}
